<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="https://unpkg.com/pinyin-pro"></script>
    <script src="js/weather.js"></script>
    <link rel="stylesheet" href="css/weather.css" />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
      integrity="sha512-SfTiTlX6kk+qitfevl/7LibUOeJWlt9rbyDn92a1DqWOw9vWG2MFoays0sgObmWazO5BQPiFucnnEAjpAB+/Sw=="
      crossorigin="anonymous"
      referrerpolicy="no-referrer"
    />
  </head>
  <body>
    <div class="base">
      <div class="outer card">
        <!-- 搜索区域 -->
        <div class="search-loader">
          <div class="gururu"></div>
          <div class="search-container"></div>
          <div class="search-container2">
            <input
              type="text"
              class="search-bar"
              placeholder="城市"
              id="search-input"
            />
            <button class="search-button" onclick="search()">
              <i class="fa fa-search"></i>
            </button>
          </div>
        </div>
        <!-- 天气展示区域 -->
        <div class="weather-container"></div>
      </div>
      <div class="gitee">
        <a href="https://gitee.com/LynLuc/weather-forecast-card" target="_blank"
          >https://gitee.com/LynLuc/weather-forecast-card</a
        >
      </div>
    </div>
  </body>
</html>

<!-- 在insertWeatherIcon()方法检测天气时根据天气制作动态背景图 -->
<!-- 不做了 -->
